package cn.com.taiji.oospub.wechat.service.impl;

import cn.com.taiji.oospub.wechat.entity.SupplierFood;
import cn.com.taiji.oospub.wechat.mapper.SupplierFoodMapper;
import cn.com.taiji.oospub.wechat.service.ISupplierFoodService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 
 * @since 2020-10-28
 */
@Service
public class SupplierFoodServiceImpl extends ServiceImpl<SupplierFoodMapper, SupplierFood> implements ISupplierFoodService {
    @Autowired
    private SupplierFoodMapper supplierFoodMapper;

    @Override
    public SupplierFood listByCondition(QueryWrapper<SupplierFood> supModel) {
        return supplierFoodMapper.selectOne(supModel);
    }
}
